package A;

public class Plane {
    private String name;
    private double height;
    private double weight;
    public Plane() {
    }
    public Plane(String name, double height, double weight) {
        this.name = name;
        this.height = height;
        this.weight = weight;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public double getHeight() {
        return height;
    }
    public void setHeight(double height) {
        this.height = height;
    }
    public double getWeight() {
        return weight;
    }
    public void setWeight(double weight) {
        this.weight = weight;
    }
    public void qifei(){
        System.out.println("起飞！");
    }public void jiasu(){
        System.out.println("加速！");
    }public void jiangluo(){
        System.out.println("降落！");
    }
}
